home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / p_misc / stats.arc / ALLREP.BAT next >
DOS Batch File  |  1988-08-17  |  785b  |  28 lines

  1. echo off
  2. totals <\log | ptotals >\reports\log.rep
  3. if not errorlevel 0 goto errors
  4. del \logrep.dat
  5. edlin \logrep.dat <\logrep.ed
  6. if not errorlevel 0 goto errors
  7. del \collect.dat
  8. apply \logrep.dat "collect %%" /s
  9. if not errorlevel 0 goto errors
  10. apply \collect.dat "del \reports\%%" /s
  11. if not errorlevel 0 goto errors
  12. apply \collect.dat "\mailrep.bat %% %1 %2 %3" /s
  13. if not errorlevel 0 goto errors
  14. apply \collect.dat "totals %% <\log | ptotals >>\reports\%%.rep" /s
  15. if not errorlevel 0 goto errors
  16. apply \collect.dat "copy \reports\%% + \mailend.dat \reports\%%" /s
  17. cls
  18. echo .
  19. echo Your reports listed below await your perusal or mailing:-
  20. dir \reports /w
  21. goto end
  22. :errors
  23. echo .
  24. echo .
  25. echo Problems!! Please deal with them and then restart Bye.
  26. echo .
  27. :end
  28.